/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.campusinfoexam.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

/**
 * 公务员考试名称Entity
 * @author zms
 * @version 2018-04-18
 */
public class CampusinfoServantName extends DataEntity<CampusinfoServantName> {
	
	private static final long serialVersionUID = 1L;
	private String servantName;		// 考公名称
	private String servantForshort;		// 考公简介
	private String payment;		// 考工费用
	private String unLinement;		// 线下缴费说明
	private String servantImg;
	public String getServantImg() {
		return servantImg;
	}

	public void setServantImg(String servantImg) {
		this.servantImg = servantImg;
	}
	public CampusinfoServantName() {
		super();
	}

	public CampusinfoServantName(String id){
		super(id);
	}

	@Length(min=1, max=64, message="考公名称长度必须介于 1 和 64 之间")
	public String getServantName() {
		return servantName;
	}

	public void setServantName(String servantName) {
		this.servantName = servantName;
	}
	
	@Length(min=0, max=512, message="考公简介长度必须介于 0 和 512 之间")
	public String getServantForshort() {
		return servantForshort;
	}

	public void setServantForshort(String servantForshort) {
		this.servantForshort = servantForshort;
	}
	
	@Length(min=1, max=64, message="考工费用长度必须介于 1 和 64 之间")
	public String getPayment() {
		return payment;
	}

	public void setPayment(String payment) {
		this.payment = payment;
	}
	
	@Length(min=0, max=255, message="线下缴费说明长度必须介于 0 和 255 之间")
	public String getUnLinement() {
		return unLinement;
	}

	public void setUnLinement(String unLinement) {
		this.unLinement = unLinement;
	}
	
}